package com.shijunhao.graduation.domain.dto;

import com.shijunhao.graduation.annotations.WrapperCondition;
import com.shijunhao.graduation.enums.SqlSymbol;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: shijunhao
 * @date: 2022/4/16 19:40
 * @description:
 */
@ApiModel("资源信息查询实体")
public class BusinessSourcesQueryDto {
    @ApiModelProperty(value = "id",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long id;

    @ApiModelProperty(value = "资源名称")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String sourceName;

    @ApiModelProperty(value = "描述信息")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String description;

    @ApiModelProperty(value = "文件id",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long fileId;

    @ApiModelProperty(value = "创建id",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long createBy;

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }
}
